import axios from '../index';

// 请求函数
export function login(data) {
    return axios({
        method: 'post',
        url: '/User/LoginPc',
        data: data
    });
}


// 监控
export function selectMonitoring(data) {
    return axios({
        method: 'post',
        url: '/Monitoring/SelectMonitoring',
        data: data
    });
}

//
export function findInformation(data) {
    return axios({
        method: 'post',
        url: '/Information/FindInformation',
        data: data
    });
}
export function selectMonitoringByAll(data) {
    return axios({
        method: 'post',
        url: '/Monitoring/SelectMonitoringByAll',
        data: data
    });
}


// 统计站内车量总数
export function InstationCarsCountInstationCars(data) {
    return axios({
        method: 'post',
        url: '/InstationCars/CountInstationCars',
        data: data
    });
}
// 查询车辆信息
export function AlignmentCarsFindAlignmentCars(data) {
    return axios({
        method: 'post',
        url: '/AlignmentCars/FindAlignmentCars',
        data: data
    });
}

export function AlignmentCarsCountAlignmentCars(data) {
    return axios({
        method: 'post',
        url: '/AlignmentCars/CountAlignmentCars',
        data: data
    });
}


export function CarsCountCars(data) {
    return axios({
        method: 'post',
        url: '/Cars/CountCars',
        data: data
    });
}

export function selaectMonitoringByAll(data) {
    return axios({
        method: 'post',
        url: '/Monitoring/SelectMonitoringByAll',
        data: data
    });
}
export function selectMonitordingByAdll(data) {
    return axios({
        method: 'post',
        url: '/Monitoring/SelectMonitoringByAll',
        data: data
    });
}

export function EnvironmentFindEnvironment(data) {
    return axios({
        method: 'post',
        url: '/Environment/FindEnvironment',
        data: data
    });
}

export function EnvironmentHJFX(data) {
    return axios({
        method: 'post',
        url: '/Environment/HJFX',
        data: data
    });
}

export function MonitoringCountMonitoring(data) {
    return axios({
        method: 'post',
        url: '/Monitoring/CountMonitoring',
        data: data
    });
}

export function AggregateFindAggregate(data) {
    return axios({
        method: 'post',
        url: '/Aggregate/FindAggregate',
        data: data
    });
}

export function WagonBalanceFindWagon(data) {
    return axios({
        method: 'post',
        url: '/WagonBalance/FindWagon',
        data: data
    });
}

export function WagonBalanceCountWagonByLJCC(data) {
    return axios({
        method: 'post',
        url: '/WagonBalance/CountWagonByLJCC',
        data: data
    });
}

export function WagonBalanceCountWagonByRKTJ(data) {
    return axios({
        method: 'post',
        url: '/WagonBalance/CountWagonByRKTJ',
        data: data
    });
}

export function AlignmentCarsFindAlignmentCarsByZN(data) {
    return axios({
        method: 'post',
        url: '/AlignmentCars/FindAlignmentCarsByZN',
        data: data
    });
}


export function AlignmentCarsFindAlignmentCarsByState(data) {
    return axios({
        method: 'post',
        url: '/AlignmentCars/FindAlignmentCarsByState',
        data: data
    });
}

export function DispatcherTaskFindDispatcherTaskBySy(data) {
    return axios({
        method: 'post',
        url: '/DispatcherTask/FindDispatcherTaskBySy',
        data: data
    });
}

export function WagonBalanceCountWagonByMYQS(data) {
    return axios({
        method: 'post',
        url: '/WagonBalance/CountWagonByMYQS',
        data: data
    });
}

export function CarTaskFindCarTaskByZTYS(data) {
    return axios({
        method: 'post',
        url: '/CarTask/FindCarTaskByZTYS',
        data: data
    });
}

export function CarTaskFindCarTaskByZYSL(data) {
    return axios({
        method: 'post',
        url: '/CarTask/FindCarTaskByZYSL',
        data: data
    });
}

export function ConsumeFindConsume(data) {
    return axios({
        method: 'post',
        url: '/Consume/FindConsume',
        data: data
    });
}

export function DispatcherTaskFindDispatcherTaskByHNTJZ(data) {
    return axios({
        method: 'post',
        url: '/DispatcherTask/FindDispatcherTaskByHNTJZ',
        data: data
    });
}

export function DispatcherTaskFindDispatcherTaskByHNTSC(data) {
    return axios({
        method: 'post',
        url: '/DispatcherTask/FindDispatcherTaskByHNTSC',
        data: data
    });
}

export function PowderFindPowder(data) {
    return axios({
        method: 'post',
        url: '/Powder/FindPowder',
        data: data
    });
}
export function DispatcherTaskFindDispatcherTaskBySCYDBB(data) {
    return axios({
        method: 'post',
        url: '/DispatcherTask/FindDispatcherTaskBySCYDBB',
        data: data
    });
}



export function AggregateFindAggregateByPage(data) {
    return axios({
        method: 'post',
        url: '/Aggregate/FindAggregateByPage',
        data: data
    });
}
export function PowderFindPowderByPage(data) {
    return axios({
        method: 'post',
        url: '/Powder/FindPowderByPage',
        data: data
    });
}
// 照片墙
export function PhotoWallFindPhotoWall(data) {
    return axios({
        method: 'post',
        url: '/PhotoWall/FindPhotoWall',
        data: data
    });
}


// 里程碑
export function MilestoneselectMilestone(data) {
    return axios({
        method: 'post',
        url: '/Milestone/selectMilestone',
        data: data
    });
}



// Temperature/updateTemperature  id  temperatureOne  temperatureTwo

export function TemperaturefindTemperature(data) {
    return axios({
        method: 'post',
        url: '/Temperature/findTemperature',
        data: data
    });
}
export function TemperatureupdateTemperature(data) {
    return axios({
        method: 'post',
        url: '/Temperature/updateTemperature',
        data: data
    });
}


export default {
    TemperaturefindTemperature,
    TemperatureupdateTemperature,
    login,
    selectMonitoring,
    findInformation,
    selectMonitoringByAll,
    InstationCarsCountInstationCars,
    AlignmentCarsFindAlignmentCars,
    AlignmentCarsCountAlignmentCars,
    EnvironmentFindEnvironment,
    EnvironmentHJFX,
    CarsCountCars,
    MonitoringCountMonitoring,
    AggregateFindAggregate,
    WagonBalanceFindWagon,
    WagonBalanceCountWagonByLJCC,
    WagonBalanceCountWagonByRKTJ,
    AlignmentCarsFindAlignmentCarsByZN,
    AlignmentCarsFindAlignmentCarsByState,
    DispatcherTaskFindDispatcherTaskBySy,
    WagonBalanceCountWagonByMYQS,
    CarTaskFindCarTaskByZTYS,
    CarTaskFindCarTaskByZYSL,
    ConsumeFindConsume,
    DispatcherTaskFindDispatcherTaskByHNTJZ,
    DispatcherTaskFindDispatcherTaskByHNTSC,
    DispatcherTaskFindDispatcherTaskBySCYDBB,
    PowderFindPowder,
    AggregateFindAggregateByPage,
    PowderFindPowderByPage,
    PhotoWallFindPhotoWall,
    MilestoneselectMilestone
};